package com.boss.salary.dao;

import com.boss.salary.entity.SalaryMonthEnd;
import com.boss.salary.vo.SalaryMonthEndVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

public interface ISalaryMonthBeginDao {

    void batchSaveSalaryMonthBegin(List<SalaryMonthEndVO> salaryMonthEndVOList) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException;

    void batchPhysicalDeleteSalaryMonthBegin(String province, List<String> agencyIds);

    SalaryMonthEnd selectSalaryBeginByPersonId(String personId);
    /**
     * 查询带人员工资类别的工资数据
     * @param province
     * @param agencyIds
     * @return
     */
    List<SalaryMonthEndVO> selectSalaryMonthEndWithSalaryType(String province, List<String> agencyIds);

    /**
     * 获取所有月初表有数据得单位
     * @param province
     * @param agencyIds
     * @return
     */
    List<String> getIsNotEmptybeginAgenyIds(String province, List<String> agencyIds);
}
